/**
 * Copyright 2008-2009 HAN.BIFANG
 *
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *
 *      http://www.apache.org/licenses/LICENSE-2.0
 *
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 *
 */
package han.bifang.gwt.client.sec;

import com.google.gwt.i18n.client.Messages;

/**
 * 
 * @Author Kent
 */
public interface SecurityMessages extends Messages {

	String lengthError(String name,String min,String max);
	String isNull(String name);
	
	
	String newEntity();
	String create();
	String modify();
	String modifyOk();
	String confirm();
	
	String remove();
	String cancel();
	
	String next();
	String previous();
	
	//security special
	String user();
	String group();
	String role();
	
	String createUser();
	String userName();
	String loginName();
	String password();
	String confirmPassword();
//	String phone();
//	String mobile();
//	String email();
	String description();
	String search();
	String view();
	String page(int total,int current);
	
	String basic();
	
	String groupName();
	String addGroup();
	String removeGroup();
	String ret();
	String confirmRemoveUser(String userName);
	String userList();
	String noResult();
	String createOk();
	String createGroup();
	String roleName();
	String addUser();
	String removeUser();
	String addRole();
	String removeRole();
	String member();
	String createRole();
	String roleList();
	String groupList();
	String serviceName();
	String serviceType();
	String localService();
	String mappingService();
	String localServiceCode();
	String remoteServiceCode();
	String serviceCode();
	String addResource();
	String removeResource();
	String resource();
	

	
	String confirmRemoveGroup(String groupName);
	String confirmRemoveRole(String roleName);
	
	
	//error
	String passwordNotMatch();
	
	
	
}
